package com.huixue.zdb.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 * @author ZhouHuRun
 * @since 2020-09-23
 */
public class Commodityspec implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "cs_id", type = IdType.AUTO)
    private Integer csId;

    /**
     * 商品规格名字
     */
    private String csName;

    /**
     * 商品规格价格
     */
    private BigDecimal csPrice;

    /**
     * 站点id
     */
    private Integer siteaid;


    public Integer getCsId() {
        return csId;
    }

    public void setCsId(Integer csId) {
        this.csId = csId;
    }

    public String getCsName() {
        return csName;
    }

    public void setCsName(String csName) {
        this.csName = csName;
    }

    public BigDecimal getCsPrice() {
        return csPrice;
    }

    public void setCsPrice(BigDecimal csPrice) {
        this.csPrice = csPrice;
    }

    public Integer getSiteaid() {
        return siteaid;
    }

    public void setSiteaid(Integer siteaid) {
        this.siteaid = siteaid;
    }

    @Override
    public String toString() {
        return "Commodityspec{" +
        "csId=" + csId +
        ", csName=" + csName +
        ", csPrice=" + csPrice +
        ", siteaid=" + siteaid +
        "}";
    }
}
